<form onsubmit="return false;" action="{:request()->url()}" data-auto="true" method="post" class='layui-form layui-card'
      autocomplete="off">

    <div class="layui-card-body">

        <div class="layui-form-item">
            <label class="layui-form-label">微信号</label>
            <div class="layui-input-block">
                <input name="wechat" value='{$vo.wechat|default=""}' placeholder="请输入微信号" class="layui-input">
            </div>
        </div>

        <div class="layui-form-item">
            <label class="layui-form-label">支付宝账号</label>
            <div class="layui-input-block">
                <input name="alipay" value='{$vo.alipay|default=""}' placeholder="请输入支付宝账号" class="layui-input">
            </div>
        </div>

        <div class="layui-form-item">

            <label class="layui-form-label">二维码</label>
            <div class="layui-input-block">
                <table class="layui-table">
                    <thead>
                    <tr>
                        <th class="text-center">微信二维码</th>
                        <th class="text-left">支付宝二维码</th>
                    </tr>
                    <tr>
                        <td width="90px" class="text-center">
                            <input name="wechat_qrcode" type="hidden" value="{$vo.wechat_qrcode|default=''}">
                        </td>
                        <td width="90px" class="text-left">
                            <input name="alipay_qrcode" type="hidden" value="{$vo.alipay_qrcode|default=''}">
                        </td>
                    </tr>
                    </thead>
                </table>
            </div>
            <script>$('[name="wechat_qrcode"]').uploadOneImage(), $('[name="alipay_qrcode"]').uploadOneImage()</script>
        </div>

        <div class="layui-form-item">

            <label class="layui-form-label">会员认证</label>
            <div class="layui-input-block">

                    {foreach ['0' => '未审核','1' => '已审核','-1'=>'未通过'] as $k => $v}
                    <!--{eq name='vo.verified' value='$k'}-->
                    <label class="think-radio">
                        <input type="radio" value="{$k}" name="verified" title="{$v}" checked lay-ignore> {$v}</label>
                    <!--{else}-->
                        <label class="think-radio"><input type="radio" value="{$k}" name="verified" title="{$v}" lay-ignore> {$v}</label>
                    <!--{/eq}-->
                    {/foreach}

            </div>
        </div>

        <div class="layui-form-item">
            <label class="layui-form-label">认证描述</label>
            <div class="layui-input-block">
                <input name="comment" value='{$vo.comment|default=""}' placeholder="请输入认证描述" class="layui-input">
            </div>
        </div>
    </div>

    <div class="hr-line-dashed"></div>
    {notempty name='vo.mid'}<input type='hidden' value='{$vo.mid}' name='mid'>{/notempty}

    <div class="layui-form-item text-center">
        <button class="layui-btn" type='submit'>保存数据</button>
        <button class="layui-btn layui-btn-danger" type='button' data-confirm="确定要取消编辑吗？" data-close>取消编辑</button>
    </div>

</form>
